# 设置 BootJDK
export ALT_BOOTDIR=/home/dengyouxu/Development/jdk1.7.0_80
# 让 make 找到 Ant
export ALT_ANT_HOME=/home/dengyouxu/Development/apache-ant-1.9.0
export ALT_JDK_IMPORT_PATH=/home/dengyouxu/Development/jdk1.7.0_80/
# CUPS
#export ALT_CUPS_HEADERS_PATH=/Users/dengyouxu/Software/cups-2.3.6
export ALLOW_DOWNLOADS=true
export HOTSPOT_BUILD_JOBS=8 # 编译线程数, 与CPU核数一致即可
#export ALT_PARALLEL_COMPILE_JOBS=8

export LANG=C
export COMPILER_WARNINGS_FATAL=false
export USE_CLANG=false
export LP64=1
# 生成 debug 版本
export SKIP_DEBUG_BUILD=false
# 比较本次 build 出来的映像与先前版本的差异。
export SKIP_COMPARE_IMAGES=true
#export DEV_ONLY=true
export USE_PRECOMPILED_HEADER=true
export NO_DOCS=true

export BUILD_LANGTOOLS=true
export BUILD_JAXP=true
export BUILD_JAXWS=true
export BUILD_CORBA=true
export BUILD_HOTSPOT=true
export BUILD_JDK=true

export BUILD_DEPLOY=false # 取消构建部署和安装包
export BUILD_INSTALL=false
unset JAVA_HOME
unset CLASSPATH

#make clean
make V=1 2>&1 debug_build | tee build_linux.log
